<template>
    <div class='dog'>
      <img src='../assets/songshi.jpg' />
      <span>{{info}}</span>
    </div>
</template>

<script>
export default {
  data() {
    return {
      info: '这是一只憨厚可爱的松狮犬',
    }
  }
}
</script>

<style>
.dog {
  display: inline-block;
  border: 1px solid #b2b2b2;
  width: 220px;
  height: 250px;
  text-align: center;
}
</style>